package com.psp.web.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;

/**
 * 微信支付获取二维码
 **/
public class GetWechatQRCodeParam {
	private String token; // token
	@NotEmpty(message = "订单id不能为空")
	private String oid; // 订单id
	@NotEmpty(message = "服务id不能为空")
	private String pid; // 服务id
	private String attach; // 附加数据
	private String body; // 商品简单描述
	private String detail; // 商品详细描述
	private Integer totalFee; // 单位：分，支付金额
	private Integer width; // 二维码宽度

	public void setToken(String token) {
 		this.token = token;
	}

	public String getToken() {
 		return token;
	}

	public void setOid(String oid) {
 		this.oid = oid;
	}

	public String getOid() {
 		return oid;
	}

	public void setPid(String pid) {
 		this.pid = pid;
	}

	public String getPid() {
 		return pid;
	}

	public void setAttach(String attach) {
 		this.attach = attach;
	}

	public String getAttach() {
 		return attach;
	}

	public void setBody(String body) {
 		this.body = body;
	}

	public String getBody() {
 		return body;
	}

	public void setDetail(String detail) {
 		this.detail = detail;
	}

	public String getDetail() {
 		return detail;
	}

	public void setTotalFee(Integer totalFee) {
 		this.totalFee = totalFee;
	}

	public Integer getTotalFee() {
 		return totalFee;
	}

	public void setWidth(Integer width) {
 		this.width = width;
	}

	public Integer getWidth() {
 		return width;
	}

}
